package com.homegoods.login.model;

/**
 * add shibo.zheng
 * 19/07/04
 * 登录成功后返回的数据存储类
 * ********（暂未使用）**********
 */
public class LoginSucModel {

    /**
     * externalOpenId :             //第三方openId
     * needPhone : false            //是否需要绑定手机号码
     * provider :                   //第三方类型
     * providerAccessToken :        //第三方accessToken，客户端请求资料用（如果需要）
     * token :                      //返回的token
     * tokenHead :                  //token类型
     */

    private String externalOpenId;
    private boolean needPhone;
    private String provider;
    private String providerAccessToken;
    private String token;
    private String tokenHead;

    public String getExternalOpenId() {
        return externalOpenId;
    }

    public void setExternalOpenId(String externalOpenId) {
        this.externalOpenId = externalOpenId;
    }

    public boolean isNeedPhone() {
        return needPhone;
    }

    public void setNeedPhone(boolean needPhone) {
        this.needPhone = needPhone;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public String getProviderAccessToken() {
        return providerAccessToken;
    }

    public void setProviderAccessToken(String providerAccessToken) {
        this.providerAccessToken = providerAccessToken;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getTokenHead() {
        return tokenHead;
    }

    public void setTokenHead(String tokenHead) {
        this.tokenHead = tokenHead;
    }
}
